package cn.bailin233.system.mapper;

import cn.bailin233.system.entity.user.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    User findByUid(Long uid);
    List<String> getRoleNameList(Long uid);
    List<String> getResourceNameList(Long uid);
}
